import styles from './index.module.scss';

export default (props) => {
    let {tip='', position='fixed', className=''} = props;

    return (
        <div className={`${styles['container']} ${className} ${styles[position]}`}>
            <div className="rt-loader-4"></div>
            { tip ? <div className='_loading_tips'>{tip}</div> : null }
        </div>
    );
}